le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
HIGH2(N, cons2(M, L)) -> IFHIGH3(le2(M, N), N, cons2(M, L))
QUICKSORT1(cons2(N, L)) -> LOW2(N, L)
IFLOW3(false, N, cons2(M, L)) -> LOW2(N, L)
QUICKSORT1(cons2(N, L)) -> APP2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
IFLOW3(true, N, cons2(M, L)) -> LOW2(N, L)
IFHIGH3(true, N, cons2(M, L)) -> HIGH2(N, L)
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(high2(N, L))
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(low2(N, L))
LOW2(N, cons2(M, L)) -> LE2(M, N)
LE2(s1(X), s1(Y)) -> LE2(X, Y)
IFHIGH3(false, N, cons2(M, L)) -> HIGH2(N, L)
HIGH2(N, cons2(M, L)) -> LE2(M, N)
LOW2(N, cons2(M, L)) -> IFLOW3(le2(M, N), N, cons2(M, L))
QUICKSORT1(cons2(N, L)) -> HIGH2(N, L)
APP2(cons2(N, L), Y) -> APP2(L, Y)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
HIGH2(N, cons2(M, L)) -> IFHIGH3(le2(M, N), N, cons2(M, L))
QUICKSORT1(cons2(N, L)) -> LOW2(N, L)
IFLOW3(false, N, cons2(M, L)) -> LOW2(N, L)
QUICKSORT1(cons2(N, L)) -> APP2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
IFLOW3(true, N, cons2(M, L)) -> LOW2(N, L)
IFHIGH3(true, N, cons2(M, L)) -> HIGH2(N, L)
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(high2(N, L))
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(low2(N, L))
LOW2(N, cons2(M, L)) -> LE2(M, N)
LE2(s1(X), s1(Y)) -> LE2(X, Y)
IFHIGH3(false, N, cons2(M, L)) -> HIGH2(N, L)
HIGH2(N, cons2(M, L)) -> LE2(M, N)
LOW2(N, cons2(M, L)) -> IFLOW3(le2(M, N), N, cons2(M, L))
QUICKSORT1(cons2(N, L)) -> HIGH2(N, L)
APP2(cons2(N, L), Y) -> APP2(L, Y)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP2(cons2(N, L), Y) -> APP2(L, Y)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(cons2(N, L), Y) -> APP2(L, Y)
POL( cons2(x1, x2) ) = 2x2 + 1
POL( APP2(x1, x2) ) = x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
LE2(s1(X), s1(Y)) -> LE2(X, Y)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LE2(s1(X), s1(Y)) -> LE2(X, Y)
POL( LE2(x1, x2) ) = 3x2 + 3
POL( s1(x1) ) = x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
HIGH2(N, cons2(M, L)) -> IFHIGH3(le2(M, N), N, cons2(M, L))
IFHIGH3(false, N, cons2(M, L)) -> HIGH2(N, L)
IFHIGH3(true, N, cons2(M, L)) -> HIGH2(N, L)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
HIGH2(N, cons2(M, L)) -> IFHIGH3(le2(M, N), N, cons2(M, L))
Used ordering: Polynomial Order [17,21] with Interpretation:
IFHIGH3(false, N, cons2(M, L)) -> HIGH2(N, L)
IFHIGH3(true, N, cons2(M, L)) -> HIGH2(N, L)
POL( true ) = 0
POL( IFHIGH3(x1, ..., x3) ) = max{0, 3x2 + x3 - 1}
POL( false ) = 3
POL( 0 ) = 0
POL( s1(x1) ) = max{0, 2x1 - 3}
POL( le2(x1, x2) ) = max{0, 3x1 - 3}
POL( cons2(x1, x2) ) = 3x1 + 3x2 + 3
POL( HIGH2(x1, x2) ) = 3x1 + 2x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
IFHIGH3(false, N, cons2(M, L)) -> HIGH2(N, L)
IFHIGH3(true, N, cons2(M, L)) -> HIGH2(N, L)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
IFLOW3(false, N, cons2(M, L)) -> LOW2(N, L)
LOW2(N, cons2(M, L)) -> IFLOW3(le2(M, N), N, cons2(M, L))
IFLOW3(true, N, cons2(M, L)) -> LOW2(N, L)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LOW2(N, cons2(M, L)) -> IFLOW3(le2(M, N), N, cons2(M, L))
Used ordering: Polynomial Order [17,21] with Interpretation:
IFLOW3(false, N, cons2(M, L)) -> LOW2(N, L)
IFLOW3(true, N, cons2(M, L)) -> LOW2(N, L)
POL( true ) = 1
POL( false ) = 0
POL( IFLOW3(x1, ..., x3) ) = max{0, 3x2 + x3 - 1}
POL( 0 ) = 0
POL( s1(x1) ) = max{0, -1}
POL( le2(x1, x2) ) = max{0, 2x2 - 3}
POL( cons2(x1, x2) ) = 3x1 + 3x2 + 1
POL( LOW2(x1, x2) ) = max{0, 3x1 + 3x2 - 1}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
IFLOW3(false, N, cons2(M, L)) -> LOW2(N, L)
IFLOW3(true, N, cons2(M, L)) -> LOW2(N, L)
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(low2(N, L))
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(high2(N, L))
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(low2(N, L))
QUICKSORT1(cons2(N, L)) -> QUICKSORT1(high2(N, L))
POL( true ) = 1
POL( false ) = 3
POL( iflow3(x1, ..., x3) ) = max{0, 2x3 - 1}
POL( s1(x1) ) = max{0, 3x1 - 1}
POL( 0 ) = 0
POL( ifhigh3(x1, ..., x3) ) = max{0, 3x3 - 2}
POL( le2(x1, x2) ) = max{0, 2x2 - 3}
POL( high2(x1, x2) ) = max{0, 3x2 - 1}
POL( QUICKSORT1(x1) ) = 2x1 + 1
POL( nil ) = 3
POL( cons2(x1, x2) ) = 3x2 + 1
POL( low2(x1, x2) ) = max{0, 2x2 - 1}
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
high2(N, nil) -> nil
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
le2(0, Y) -> true
le2(s1(X), 0) -> false
le2(s1(X), s1(Y)) -> le2(X, Y)
app2(nil, Y) -> Y
app2(cons2(N, L), Y) -> cons2(N, app2(L, Y))
low2(N, nil) -> nil
low2(N, cons2(M, L)) -> iflow3(le2(M, N), N, cons2(M, L))
iflow3(true, N, cons2(M, L)) -> cons2(M, low2(N, L))
iflow3(false, N, cons2(M, L)) -> low2(N, L)
high2(N, nil) -> nil
high2(N, cons2(M, L)) -> ifhigh3(le2(M, N), N, cons2(M, L))
ifhigh3(true, N, cons2(M, L)) -> high2(N, L)
ifhigh3(false, N, cons2(M, L)) -> cons2(M, high2(N, L))
quicksort1(nil) -> nil
quicksort1(cons2(N, L)) -> app2(quicksort1(low2(N, L)), cons2(N, quicksort1(high2(N, L))))